package org.jeecg.modules.quality.vo;

import java.util.List;
import org.jeecg.modules.quality.entity.QualityToReportUser;
import org.jeecg.modules.quality.entity.QualityToReportUserDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 质检员主表
 * @Author: jeecg-boot
 * @Date:   2020-10-26
 * @Version: V1.0
 */
@Data
@ApiModel(value="quality_to_report_userPage对象", description="质检员主表")
public class QualityToReportUserPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**质检员用户id*/
	@Excel(name = "质检员用户id", width = 15)
	@ApiModelProperty(value = "质检员用户id")
	private String qualityUserId;
	/**质检员用户名称*/
	@Excel(name = "质检员用户名称", width = 15)
	@ApiModelProperty(value = "质检员用户名称")
	private String qualityUserRealname;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;

	@ExcelCollection(name="质检管理明细")
	@ApiModelProperty(value = "质检管理明细")
	private List<QualityToReportUserDetail> qualityToReportUserDetailList;

}
